<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<th:block th:include="common/head :: head('新闻动态')"/>
<style>
.empty-wrap {
    font-size: 14px;
    text-align: center;
}
</style>
<body>
<th:block th:include="common/head :: header('/web/news')"/>

<div class="page-main news-block1 ">
    <div class="common-block" style="width: 100%;">
        <div class="common-block-title">
            <img class="common-block-title__ico" src="/img/icon01.png" />
            <span class="common-block-title__txt">搜索结果</span>
        </div>
        <div class="common-block-content" style="min-height: 500px; padding: 30px;">
            <div class="empty-wrap" th:if="${#lists.isEmpty(content)}">
                没有找到数据!
            </div>
            <div class="hot-item" th:each="item,ti : ${content}">
                <span class="hot-item-index" th:text="${ti.count}"></span>
                <a class="hot-item-title" th:if="${item.kind == 'SAFE'}" th:href="'/web/safety/view/' + ${item.id}" th:text="${item.title}" th:title="${item.title}"></a>
                <a class="hot-item-title" th:if="${item.kind == 'VIRUS'}" th:href="'/web/safety/view2/' + ${item.id}" th:text="${item.title}" th:title="${item.title}"></a>
                <a class="hot-item-title" th:if="${item.kind == 'FORUM'}" href="/web/forum" th:text="${item.title}" th:title="${item.title}"></a>

                <a class="hot-item-title" th:unless="${item.kind == 'SAFE' || item.kind == 'VIRUS' || item.kind == 'FORUM'}" th:href="'/web/news/view/' + ${item.id}" th:text="${item.title}" th:title="${item.title}"></a>
            </div>
        </div>
    </div>
</div>


<th:block th:include="common/head :: link"/>
<th:block th:include="common/head :: footer"/>
<th:block th:include="common/head :: float" />
</body>
<th:block th:replace="common/head :: float-js" />
<script th:inline="javascript">

</script>
</html>

